#include "mainwindow.h"
#include <QApplication>
#include <QSettings>
#include <QString>

int main(int argc, char *argv[])
{
	QCoreApplication::addLibraryPath(QString("./"));
	QCoreApplication::addLibraryPath(QString("./plugins"));
	QCoreApplication::setOrganizationName("hahaha");
	QCoreApplication::setOrganizationDomain("www.mosaic-go-away.info");
	QCoreApplication::setApplicationName("Medicine Record");


	QApplication a(argc, argv);
	MainWindow w;
	if (!w.initUniqueInstance())
		return 0;
	w.show();

	return a.exec();
}
